<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!--[if !IE 7]>
	<style type="text/css">
		#wrap {display:table;height:100%}
	</style>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />

<!-- blueprint CSS framework -->
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css"
	media="screen, projection" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css"
	media="print" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/gridview.css"
	media="csstablegenerator" />
<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

<link rel="shortcut icon"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/logo1.png"
	type="image/x-icon" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<?php echo Yii::app()->bootstrap->init(); ?>
<body>
	<div id="main">
		<div class="container" id="page">

			<div id="header">
				<div id="logo">
					<?php echo CHtml::image(Yii::app()->request->baseUrl.'/css/logo.png'); ?>
				</div>
				<div style="background-color: width: 100%;border: 1px solid #C4E9E3; margin-top: -5px; margin-bottom: 5px;"></div>
			</div>
			<!-- header -->
			<?php $this->renderPartial('//site/dialog'); ?>

			<?php echo $content; ?>
		</div>
		<div id="footer">
			<?php echo '<p>© ICOMP - Instituto de Computação</p>';
			echo '<p>Desenvolvido no contexto da disciplina IEC112 – 2014/02</p>'; ?>
		</div>
		<!-- footer -->

	</div>
	<!-- page -->

</body>
</html>
